<template>
  <div class="header">
    城市选择
    <router-link to='/'>
      <div class="iconfont header-back">&#xe624;</div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped>
@import '~styles/varibles.styl';

.header {
  height: $headerHeight;
  line-height: $headerHeight;
  text-align: center;
  color: #fff;
  background: $bgColor;
  font-size: 0.32rem;

  .header-back {
    width: 0.64rem;
    text-align: center;
    font-size: 0.4rem;
    color: #fff;
    float: left;
  }

  &::after {
    content: '';
    width: 0.64rem;
    height: 100%;
    float: right;
  }
}
</style>
